home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / btrieve / btfiler / btrebld.bat < prev    next >
DOS Batch File  |  1996-07-10  |  335b  |  16 lines

  1. echo off
  2. if '%1' == '' goto NO_PARMS
  3. goto OK
  4. :NO_PARMS
  5. echo USAGE: BTREBLD damaged_file
  6. goto END
  7. :OK
  8. rem
  9. rem 'T' to choose Test/Rebuild on opening menu, 'R' for Rebuild
  10. rem    %1 the Btrieve file, '!' for ENTER (twice), and '###' for ESCapes
  11. rem
  12. echo TR%1!!#### >btrebld.txt
  13. btfiler /k:btrebld.txt
  14. del btrebld.txt
  15. :END
  16.